import instance from '@/IotInfo/ShowLightInfo';

export function getLightInfoapi(data) {
    return instance.request({
        url: "",
        method: "get",
        data
    })
}

export function addLightInfoapi(data) {
    return instance.request({
        url: "",
        method: "post",
        data
    })
}

export function updateLightInfoapi(data) {
    return instance.request({
        url: "",
        method: "put",
        data
    })
}

export function deletelightInfoapi(data){
    return instance.request({
        url:"",
        method:"delete",
        data
    })
}